﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ArtificialIntelligence;
using Roslyn.Compilers;
using Roslyn.Compilers.CSharp;
namespace SymbolicComputation.AI
{
    public class SymJob : Job
    {

        public SyntaxNode JobState
        {
            get
            {
                return (SyntaxNode)jobState;
            }
            set
            {
                jobState = value;
            }
        }

        public SyntaxNode ParentJobState
        {
            get
            {
                if (parent != null)
                {
                    return (SyntaxNode)parent.jobState;
                }
                return null;
            }
        }

        public HistoricalMoment RecentHistory
        {
            get
            {
                return (HistoricalMoment)recentHistory;
            }
            set
            {
                recentHistory = value;
            }
        }
    }
}
